package com.kaili.basic.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * Created by xxx on 2019-03-07.
 */
@Data
public class OutboundApplicationAddDto {
    @ApiModelProperty(name = "requestCode", value = "申请单号")
    private String requestCode;

    @ApiModelProperty(name = "customerNo", value = "客户单号")
    private String customerNo;

    @ApiModelProperty(name = "documentationDate", value = "制单日期 yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss")
    private Date documentationDate;

    @ApiModelProperty(name = "preparedBy", value = "制单人")
    private String preparedBy;

    @ApiModelProperty(name = "supplierId", value = "供应商id")
    private Long supplierId;

    @ApiModelProperty(name = "customerId", value = "客户id")
    private Long customerId;

    @ApiModelProperty(name = "linkman", value = "联系人")
    private String linkman;

    @ApiModelProperty(name = "phone", value = "电话")
    private String phone;

    @ApiModelProperty(name = "procurationFee", value = "代理费")
    private Double procurationFee;

    @ApiModelProperty(name = "deliveryDate", value = "发货日期 yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss")
    private Date deliveryDate;

    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;

    @ApiModelProperty(name = "outboundProductList", value = "出库产品")
    private List<OutboundProductDto> outboundProductList;
}
